;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-

;; Place your private configuration here


;; expand Emacs load-path
(add-to-list 'load-path (expand-file-name "~/.doom.d/site-lisp"))
(add-to-list 'load-path (expand-file-name "~/.doom.d/primus"))
(add-to-list 'load-path (expand-file-name "~/.doom.d"))

;; elpa mirrors
(require 'init-elpa)

;; global Emacs config
(require 'init-config)

;; --- User Interface ---
(require 'Hesperus-UI)

;; --- improve editing ---

;; auto-save all buffer after idle 1s
(require 'init-auto-save)

;; visual-regexp replacement
(require 'init-visual-regexp)

;; English editing
(require 'init-company-english-helper)
(require 'init-insert-translated-name)
(require 'init-youdao-dict)

;; search proj-dir by ripgrep
(require 'init-color-rg)

;; highlight func-names or keywords batchly
(require 'init-symbol-overlay)

;; multiple-cursors
(require 'init-multiple-cursors)

;; parentheses editing
(require 'init-paredit)

;; pangu-spacing
(require 'init-pangu-spacing)

;; Bio data
(require 'init-fasta)

;; --- all prog-&-cor mode ---
(require 'init-ess-polymode)
(require 'init-highlight-indent-guides)
(require 'init-python-mode)
(require 'init-shell-mode)
(require 'init-tex-mode)

;; --- Keybindings ---
(require 'Hesperus-keybindings)
